<%@page import="whf.framework.util.ParamUtils"%><%
whf.framework.security.UserContext userContext = whf.framework.web.WebContextHolder.getWebContext(request).getUserContext();
userContext.cleanQueryFieldValues();
long menuId = ParamUtils.getLongParameter(request, "id", 0);
whf.framework.ext.entity.MenuItem menuItem = whf.framework.ext.service.MenuItemServiceImp.getMenuItemService().findByPrimaryKey(menuId);
String url = menuItem.getHref();
if(!url.startsWith("/")) url = "/" + url;
url = request.getContextPath() + url;
response.sendRedirect(url);
%>